const http = require('../utils/http')

const HTTP = new http.HTTP()

// 家庭注册
export function registerTeam(id, motto, callback) {
  let params = {
    // volunteerId: id,
    motto: motto
  }
  HTTP.request('/volunteer/addFamily', 'POST', params, res => {
    callback(res)
  })
}
